package com.zhangjingcheng.yunyixia.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@ConfigurationProperties(prefix = "jwt")
@Component
@Data
public class JwtProperties {

    // jwt密钥
    public String key;

    // jwt过期时间
    public Long expire;

    // token名称
    public String tokenName;
}
